{template 'common/header'}
<div class="main">
	<form class="form-horizontal form" id="form2" action="" method="post">
		<div class="panel panel-default">            
			<div class="panel-heading">
				基本设置
			</div>
                <div class="panel-body">
                    <label class="col-sm-4 control-label">手机用户注册自动审核</label>
					<div class="col-sm-4">
                        <input type="radio" name="user_auto_check" {if 'Y'==$this->module['config']['user_auto_check']}checked="checked"{/if} value="Y" />是&nbsp;&nbsp;&nbsp;
                        <input type="radio" name="user_auto_check" {if 'N'==$this->module['config']['user_auto_check']}checked="checked"{/if} value="N" />否&nbsp;&nbsp;&nbsp;
					</div>
                </div>             
                <div class="panel-body">
                    <label class="col-sm-4 control-label">供第三方调用时接收消息用户限制为</label>
					<div class="col-sm-4">
                        <input type="radio" name="rec_msg_only_auth_user" {if 'Y'==$this->module['config']['rec_msg_only_auth_user']}checked="checked"{/if} value="Y" />手机端授权用户&nbsp;&nbsp;&nbsp;
                        <input type="radio" name="rec_msg_only_auth_user" {if 'N'==$this->module['config']['rec_msg_only_auth_user']}checked="checked"{/if} value="N" />无限制&nbsp;&nbsp;&nbsp;
					</div>
                </div> 
                
                <div class="panel-body">
                    <label class="col-sm-4 control-label">第三方调用时的接口地址</label>
                    <div class="col-sm-8">
                    <a href="../addons/q_3354988381_notify/api_demo.txt" target="_blank">调用Demo</a>&nbsp;
                        {$api_url}
                    </div>                    
                </div> 
                                
                <div class="panel-body">
                    <label class="col-sm-4 control-label">第三方调用时的授权密钥</label>
                    <div class="col-sm-4">
                        <input type="text" value="{php echo $this->module['config']['notify_auth_key']}" class="form-control" name="notify_auth_key">
                    </div>                    
                </div> 
                
		</div>
		<div class="form-group col-sm-12">
			<input name="token" type="hidden" value="{$_W['token']}" />
			<input type="submit" class="btn btn-primary col-lg-1" name="submit" value="提交" />
		</div>
	</form>
</div>
{template 'common/footer'}